//
//  ContentTitle.m
//  19-JSON
//
//  Created by mafeng on 16/8/9.
//  Copyright © 2016年 mafeng. All rights reserved.
//

#import "ContentTitle.h"

@implementation ContentTitle

- (instancetype)initWithDict:(NSDictionary *)dictionary {
    self = [super init];
    if (self) {
        // KVC
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}

+ (ContentTitle *)contentTitleWithDict:(NSDictionary *)dictionary {
    return [[ContentTitle alloc] initWithDict:dictionary];
}

// 赋没有找到对用的key的值
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}
// 取没有找到对用的key的值
- (id)valueForUndefinedKey:(NSString *)key {
    return nil;
}
@end
